package com.itheima;

import java.util.Scanner;

public class nextLine {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);


        System.out.println("请输入一个字符串：");
        String nextLine = sc.nextLine();
        System.out.println(nextLine);

        System.out.println("请输入一个整数：");
        int next = sc.nextInt();
        System.out.println(next);
    }
}
